Release 10.1A: OpenEdge Application Server:
Administration


NSMAN

Controls the operation of a configured NameServer. The utility allows you to start a NameServer, query its status, and shut down a NameServer.

Syntax

Operating system
Syntax
Windows
nsman {
  { -name nameserver
    { -kill | -start | -stop | -query }
    [ -host host-name -user user-name | -user user-name ]
    [ -port port-number ]
  } | -help } 

-name name-server

This parameter is required. It specifies the name of the NameServer.

-kill

Stops and removes the NameServer from memory, no matter what it is doing.

-start

Starts the NameServer.

-stop

Stops the NameServer.

-query

Queries the NameServer for its status.

-host host-name

Specifies the name of the machine where the AdminServer is running. If a host name is not specified, it defaults to the local host name.

-user user-name

Specifies a user name and prompts for a password. A user name and password are required only when you use the -host parameter and specify a remote host name. If you specify a remote host name with the -host parameter but do not specify a user name with the -user parameter, you receive a prompt for a user name and password.

-port port-number

Specifies the port number of the machine where the AdminServer is running. If a port number is not specified, it defaults to 20931.

-help

Displays command-line help.

Examples

Table B–4 shows several examples that use the NSMAN command. Assume the NameServer is NS1; the user name is tom; and the AdminServer is on the remote host finance on the port 9999.

Table B–4: NSMAN command examples 
Task
Command
Start a local NameServer.
nsman -name NS1 -start 
Start a remote NameServer.1
nsman -name NS1 -host finance 
-port 9999 -user tom -start 
Query a local NameServer.
nsman -name NS1 -query 
Query a remote NameServer.1
nsman -name NS1 -host finance 
-port 9999 -user tom -query  
Stop a local NameServer.
nsman -name NS1 -stop 
Stop a remote NameServer.1
nsman -name NS1 -host finance 
-port 9999 -user tom -stop 
1Prompts for a password.

Notes

For information on managing a NameServer using the NSMAN utility, see OpenEdge Getting Started: Installation and Configuration .


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095